Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add swin transformer moe as backbone #209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adverbial03
Copy link

Motivation

In order to expand the parameters of the swing transformer backbone network and improve its monitoring effect, I added Swin Transformer MoE (referred to as Swin-T MoE hereafter) as a new backbone network.

Modification

I added Swin Transformer MoE (referred to as Swin-T MoE hereafter) as a new backbone network :
.\mmdet\models\backbones\swin_transformer_moe.py

As the output of Swin-T MoE is different from Swin-T, I modified the extract_feat function in .\mmdet\models\detectors\two_stage.py.

BC-breaking (Optional)

I think no.

Use cases (Optional)

I provided the relevant configuration files for reference:
contains the parameters for the Swin-T MoE backbone network:

.\configs\swin\cascade_mask_rcnn_swin_moe_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py

contains the modified configuration for the backbone network:

.\configs\swin\cascade_mask_rcnn_swin_moe_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py

Thanks for your read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant